package com.design.pattern.factory;


/**
 * @author myz
 * @date 2025/4/11
 * @description 宝马工厂类
 */
public class BmwFactory implements FactoryMethodPattern{
    @Override
    public Car createCar() {
        return new Bmw();
    }
}
